//
//  GQHDriverProfileView.h
//  Xanthium
//
//  Created by GuanQinghao on 02/05/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol GQHDriverProfileViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 点击功能列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;
//查看协议
- (void)qh_checkAgreement;
//同意并查看协议
- (void)qh_selectAgreement:(UIButton *)sender;

@end


@interface GQHDriverProfileView : UIView

/// 代理
@property (nonatomic, weak) id<GQHDriverProfileViewDelegate> qh_delegate;
/// 司机基本信息内容
@property (nonatomic, strong) NSMutableArray *qh_contentArray;
/// 司机基本信息列表
@property (nonatomic, strong) UITableView *qh_tableView;
/// 车辆图片(两张)
@property (nonatomic, strong) UIImageView *qh_leftImageView;
@property (nonatomic, strong) UIImageView *qh_rightImageView;

@end
